<#--
/****************************************************
 * Description: 用户的输入页面，包括添加和修改
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-08-08 bfsu Create File
**************************************************/
-->
<#include "/view/templates/ace/ace-inc.ftl">
<@input url="${base}/components/security/user/save">

    <input type="hidden" name="id" value="${uexists.id!''}"/>
  	
       <@formgroup title='用户名'><input type="text" name="userName" value="${uexists.userName!''}" check-type='required' maxlength="50"></@formgroup>
       <@formgroup title='登录名'><input type="text" name="loginName" value="${uexists.loginName!''}" check-type='required' maxlength="50"></@formgroup>
       <@formgroup title='密码'><input type="text" name="password" value=""  maxlength="50"></@formgroup>
       <@formgroup title='邮箱'><input type="text" name="email" value="${uexists.email!''}" check-type='required mail' maxlength="50"></@formgroup>
    	<#if groups?exists><@formgroup title='用户组'><@checkboxlist list=groups name='ids' listKey='title' listValue='id'>
	    				</@checkboxlist></@formgroup></#if>
	
    	
	
    	
   
</@input>